home *** CD-ROM | disk | FTP | other *** search
/ Net Connect / NetConnect - Version 1.iso / amitcp / providers / fin_teleinetopen < prev    next >
Encoding:
Text File  |  1996-11-29  |  1.3 KB  |  61 lines

  1. /* Provider Configuration Follows:
  2. Name        FIN_TeleInetOpen    ; Name for this configuration
  3. DialUp          1
  4. Interface    slip        ; 
  5. InterfaceConfig "VJCMode=2 "    ; Use Van Jacobson header compression
  6. NeedSerial      1
  7. IPDynamic    1         ; 1 = YES, 0 = NO
  8. IPAddr        0.0.0.0        ; IP-address if static
  9. DestIP          
  10. Gateway         
  11. Netmask         
  12. NSDynamic    1        ; 1 = YES, 0 = NO
  13. UseBootP    1        ; 1 = YES, 0 = NO
  14. MTU        576        ; Provider specific
  15. Phone        "10631063"    ; phone numbers (separated with spaces)
  16. */
  17.  
  18. /*
  19.  *    $Id: FIN_TeleInetOpen,v 4.1 1996/04/26 20:17:07 jraja Exp $
  20.  *
  21.  *     AmiTCP/IP Dial Script for Telecom Finland INet Open
  22.  *
  23.  *    Copyright © 1996 AmiTCP/IP Group,
  24.  *                     Network Solutions Development Inc.
  25.  *                     All rights reserved.
  26.  * 
  27.  */
  28.  
  29.  
  30. options results
  31. signal on error
  32.  
  33. Set WaitForTimeout 30
  34. Set InterCharDelay 20
  35.  
  36. ShowConsole
  37.  
  38. call CheckModemState
  39. /*
  40.  * If modem is already online, assume that we have an existing
  41.  * slip connection, and skip dialing and the login sequence
  42.  */
  43. if (result = 0) then do
  44.   call CommandState
  45.   call Dial
  46.   if (result != 0) then
  47.     exit 10
  48.  
  49.   /*
  50.    * Login sequence
  51.    */
  52.   WaitFor "your system."
  53.   Pause 1
  54. end
  55.  
  56. exit 0; /* succesfull exit */
  57.  
  58. error:
  59. Say "TeleInetOpen: Command on line" SIGL "returned" RC ":" SerScript.LASTERROR
  60. Exit 10
  61.